Skip to content

refactor: migrate from github.com/docker/docker -> github.com/moby/moby#53

Open
fwwieffering wants to merge 1 commit into
dhui:masterfrom
fwwieffering:migrate-to-moby
Open

refactor: migrate from github.com/docker/docker -> github.com/moby/moby#53
fwwieffering wants to merge 1 commit into
dhui:masterfrom
fwwieffering:migrate-to-moby

Conversation

@fwwieffering
Copy link
Copy Markdown

Fixes #51

github.com/docker/docker is deprecated as noted in the moby readme

I've kept all the public types (ContainerInfo.Ports, Options.PortBindings, Options.ExposedPorts) as the same github.com/docker/go-connections/nat types and added conversion functions to the moby api types github.com/moby/moby/api/types/network

changes

  • requires go 1.24 because github.com/moby/moby requires go 1.24
  • removes version pinning from docker client creation

@fwwieffering
Copy link
Copy Markdown
Author

@dhui when you get a chance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Please migrate from github.com/docker/docker to github.com/moby/moby as the docker namespace is deprecated.

1 participant